package one_class_design.four_work;

import one_class.one_homework.Geo;

/**
 * @author 北巷_东坡
 * @date 2022/9/18 16:42
 * @computer 10741
 */
public class Citcle extends geometry {
    private double r;

    public Citcle(double r) {
        this.r = r;
    }

    @Override
    public double getArea() {
        return r*r*3.1415926;
    }
}
